﻿@{
    ViewData["Title"] = "";
    //var user = ViewBag.User as EmployeeModel;
}
<link rel="stylesheet" href="~/css/humidity.css">

<div class="w100 des-container">
    <div class="row">
        <div class="col-xs-2"></div>
        <div class="col-xs-8">
            <ul>
                <li>类型: <span id="devType"></span></li>
                <li>变电站名称：<span id="device"></span></li>
                <li>设备电压等级：<span id="grade"></span></li>
                <li>设备名称：<span id="devName"></span></li>
                <li>点位名称：<span id="position">1</span></li>
            </ul>
        </div>
    </div>
</div>
<div class="w100 main">
    <div id="main"></div>
    <div class="btn-group btn-group-sm btn-group-data" role="group" aria-label="...">
        <button type="button" data-type="temperature" data-text="day" class="btn btn-primary">日</button>
        <button type="button" data-type="temperature" data-text="week" class="btn btn-success">周</button>
        <button type="button" data-type="temperature" data-text="month" class="btn btn-info">月</button>
        <button type="button" data-type="temperature" data-text="year" class="btn btn-warning">年</button>
    </div>
    <div class="btn-group btn-group-sm btn-group-data-group btn-data" role="group" aria-label="...">
        <button type="button" data-type="temperature" data-text="propday" class="btn btn-primary">上一日</button>
        <button type="button" data-type="temperature" data-text="nextday" class="btn btn-success">下一日</button>
    </div>
    <div class="btn-group btn-group-sm btn-group-data-group btn-week" role="group" aria-label="...">
        <button type="button" data-type="temperature" data-text="propweek" class="btn btn-primary">上一周</button>
        <button type="button" data-type="temperature" data-text="nextweek" class="btn btn-success">下一周</button>
    </div>
    <div class="btn-group btn-group-sm btn-group-data-group btn-month" role="group" aria-label="...">
        <button type="button" data-type="temperature" data-text="propmonth" class="btn btn-primary">上一月</button>
        <button type="button" data-type="temperature" data-text="nextmonth" class="btn btn-success">下一月</button>
    </div>
    <div class="btn-group btn-group-sm btn-group-data-group btn-year" role="group" aria-label="...">
        <button type="button" data-type="temperature" data-text="propyear" class="btn btn-primary">上一年</button>
        <button type="button" data-type="temperature" data-text="nextyear" class="btn btn-success">下一年</button>
    </div>
    <div class="timer"></div>
</div>
<div class="w100 chart">
    <div id="chart"></div>
    <div class="btn-group btn-group-sm btn-group-data" role="group" aria-label="...">
        <button type="button" data-type="humidity" data-text="day" class="btn btn-primary">日</button>
        <button type="button" data-type="humidity" data-text="week" class="btn btn-success">周</button>
        <button type="button" data-type="humidity" data-text="month" class="btn btn-info">月</button>
        <button type="button" data-type="humidity" data-text="year" class="btn btn-warning">年</button>
    </div>
    <div class="btn-group btn-group-sm btn-group-data-group btn-data" role="group" aria-label="...">
        <button type="button" data-type="humidity" data-text="propday" class="btn btn-primary">上一日</button>
        <button type="button" data-type="humidity" data-text="nextday" class="btn btn-success">下一日</button>
    </div>
    <div class="btn-group btn-group-sm btn-group-data-group btn-week" role="group" aria-label="...">
        <button type="button" data-type="humidity" data-text="propweek" class="btn btn-primary">上一周</button>
        <button type="button" data-type="humidity" data-text="nextweek" class="btn btn-success">下一周</button>
    </div>
    <div class="btn-group btn-group-sm btn-group-data-group btn-month" role="group" aria-label="...">
        <button type="button" data-type="humidity" data-text="propmonth" class="btn btn-primary">上一月</button>
        <button type="button" data-type="humidity" data-text="nextmonth" class="btn btn-success">下一月</button>
    </div>
    <div class="btn-group btn-group-sm btn-group-data-group btn-year" role="group" aria-label="...">
        <button type="button" data-type="humidity" data-text="propyear" class="btn btn-primary">上一年</button>
        <button type="button" data-type="humidity" data-text="nextyear" class="btn btn-success">下一年</button>
    </div>
    <div class="timer"></div>
</div>



<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script type="text/javascript" src="~/js/echarts.min.js"></script>
<script type="text/javascript" src="~/js/humidity.js"></script>

